TryGetValue(String,T) Method (PdfNamedDictionaryBase<T>)
Retursn a value associated with the specified name.
'Declaration
Public Function TryGetValue( _
ByVal As System.String, _
ByRef As T _
) As Boolean
public bool TryGetValue(
System.String ,
out T
)
public: bool TryGetValue(
System.String ,
[PARAMFLAG::Out] T*
)
public:
bool TryGetValue(
System.String ,
[Out] T^
)
Parameters
- name
- The name whose value to get.
- value
- When this method returns, the value associated with the specified name, if the key is found; otherwise, the default value for the type of the value parameter. This parameter is passed uninitialized.
Return Value
True if the object contains an element with the specified name; otherwise, false.
Target Platforms: .NET 10; .NET 9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5